package com.atguigu.eduservice.client.impl;

import com.atguigu.eduservice.client.OrderClient;
import org.springframework.stereotype.Component;

//hystrix
//熔断器的实现类(当调用其他服务的接口出错了，就执行对应方法)
@Component
public class OrderClientImpl implements OrderClient {

    @Override
    public boolean isBuyCourse(String courseId, String memberid) {
        return false;
    }
}
